package com.aos.erp.manager.mapper.review;

import com.aos.erp.common.dao.mapper.SuperMapper;
import com.aos.erp.manager.model.review.CheckResultImportRecord;
import com.aos.erp.manager.model.review.vo.ReviewConditionVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface CheckResultImportRecordMapper extends SuperMapper<CheckResultImportRecord>  {

    @Update("update t_check_result_import_record set is_del=-1 where id in (${dataId})")
    void deleteRecord(@Param("dataId") String ids);

    /**
     * 分页查询导入列表
     * @param pageBean
     * @param param
     * @return
     */
    List<CheckResultImportRecord> pageRecordList(IPage<CheckResultImportRecord> pageBean, @Param("param") ReviewConditionVo param);
}
